import ollama
 
res = ollama.chat(model="deepseek-r1:14b", stream=False, messages=[{"role": "user", "content": '你好'}], options={"temperature": 0.7})
print(res)